/*
 * Copyright (c) 2018 - 2019, AEye, Inc.
 * All rights reserved.
 */
#ifndef PACKETVERSIONS_HPP
#define PACKETVERSIONS_HPP

#include <cstdint>

namespace aeye {
static constexpr uint8_t SET_DEFAULT_VERSION                 = 1;
static constexpr uint8_t SET_ROI_VERSION                     = 1;
static constexpr uint8_t SET_PASSIVE_MODE_VERSION            = 1;
static constexpr uint8_t SET_PASSIVE_PARAM_VERSION           = 1;
static constexpr uint8_t SET_LASER_ENABLE_VERSION            = 1;
static constexpr uint8_t SET_POSE_VERSION                    = 1;
static constexpr uint8_t SET_PACKET_SIZE_VERSION             = 1;
static constexpr uint8_t SET_RANGE_DELAY_VERSION             = 1;
static constexpr uint8_t SET_START_VERSION                   = 1;
static constexpr uint8_t SET_MARKER_POINTS_VERSION           = 1;
static constexpr uint8_t SET_SCANNER_REGISTER_VERSION        = 1;
static constexpr uint8_t SET_SCANNER_REGISTER_32_VERSION     = SET_SCANNER_REGISTER_VERSION + 1;
static constexpr uint8_t SET_RECEIVER_REGISTER_VERSION       = 1;
static constexpr uint8_t SET_RECEIVER_REGISTER_32_VERSION    = SET_RECEIVER_REGISTER_VERSION + 1;
static constexpr uint8_t SET_NETWORK_PARAMS_VERSION          = 1;
static constexpr uint8_t SET_TIME_SERVER_VERSION             = 2;
static constexpr uint8_t SET_TIME_VERSION                    = 1;
static constexpr uint8_t ENABLE_HAWKEYE_VERSION              = 1;
static constexpr uint8_t ENABLE_HAWKEYE_POINT_VERSION        = 1;
static constexpr uint8_t SET_POINT_RETURN_MASK_VERSION       = 1;
static constexpr uint8_t SET_INTENSITY_TYPE_VERSION          = 1;
static constexpr uint8_t ENABLE_ADVANCED_RX_SWEEP            = 2;
static constexpr uint8_t ENABLE_ADVANCED_RX_STATIC_MODE      = 1;
static constexpr uint8_t GENERATE_ARX_LUT                    = 1;
static constexpr uint8_t GET_GENERATE_ARX_LUT_STATUS         = 1;
static constexpr uint8_t GET_HAWKEYE_BUFFER                  = 1;
static constexpr uint8_t SET_ARX_PIXEL                       = 1;
static constexpr uint8_t HAWKEYE_SCANNING_MODE               = 1;
static constexpr uint8_t SET_HAWKEYE_REGISTERS               = 1;
static constexpr uint8_t RET_HAWKEYE_REGISTERS               = 1;
static constexpr uint8_t SET_NUM_MULTI_ECHOES                = 1;
static constexpr uint8_t GET_NUM_MULTI_ECHOES                = 1;
static constexpr uint8_t SET_MODE_MULTI_ECHOES               = 1;
static constexpr uint8_t GET_MODE_MULTI_ECHOES               = 1;
static constexpr uint8_t SET_SKIRT_THRESH_VALUE              = 1;
static constexpr uint8_t GET_SKIRT_THRESH_VALUE              = 1;
static constexpr uint8_t GET_SHOTLIST_NAME                   = 1;
static constexpr uint8_t RET_SHOTLIST_NAME_VERSION           = 1;

static constexpr uint8_t RET_UNKNOWN_VERSION            = 1;
static constexpr uint8_t RET_DEFAULT_VERSION            = 1;
static constexpr uint8_t RET_POINTS_VERSION             = 1;
static constexpr uint8_t RET_POINT_CLOUD_DELIM_VERSION  = 2;
static constexpr uint8_t RET_BUFFERS_VERSION            = 1;
static constexpr uint8_t RET_REGISTER_32_VERSION        = 1;
static constexpr uint8_t RET_RECEIVER_REGISTERS_VERSION = 1;
static constexpr uint8_t RET_BUILD_INFO_VERSION         = 2;
static constexpr uint8_t RET_POSE_VERSION               = 1;
static constexpr uint8_t RET_ACTIVE_STATE_VERSION       = 1;
static constexpr uint8_t RET_PASSIVE_STATE_VERSION      = 1;
static constexpr uint8_t RET_ROI_STATE_VERSION          = 1;
static constexpr uint8_t RET_LASER_STATE_VERSION        = 1;
static constexpr uint8_t RET_RANGING_STATE_VERSION      = 1;
static constexpr uint8_t RET_POWER_LEVELS_STATE_VERSION = 1;
static constexpr uint8_t RET_HW_MODEL_VERSION           = 1;
static constexpr uint8_t RET_DIAG_VERSION               = 3;
static constexpr uint8_t SEND_ZONE_SCAN_PARAMS_VERSION = 1;
static constexpr uint8_t KILL_SERVICE_VERSION = 1;
static constexpr uint8_t SET_LASER_CONFIG_FLOAT_VERSION = 1;
static constexpr uint8_t GET_HSYNC_PARAMETER_VERSION = 1;
static constexpr uint8_t GET_KEEP_ALIVE_VERSION = 1;
static constexpr uint8_t SET_KEEP_ALIVE_VERSION = 1;
}

#endif //PACKETVERSIONS_HPP